package com.itljm.cxrMarket.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 菜单表
 * @TableName menus
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysMenu implements Serializable {

    private Integer id;
    private Integer parentId;
    private String title;
    private String path;
    private String icon;
    private Integer isShow;

    @TableField(exist = false)
    private List<SysMenu> children;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}